package com.liuda.workbench.service.impl;

import com.liuda.workbench.domain.ClueRemark;
import com.liuda.workbench.mapper.ClueRemarkMapper;
import com.liuda.workbench.service.ClueRemarkService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClueRemarkServiceImpl implements ClueRemarkService {
    @Autowired
    ClueRemarkMapper clueRemarkMapper;
    @Override
    public List<ClueRemark> queryByClueId(String clueId) {
        return clueRemarkMapper.queryByClueId(clueId);
    }
    public List<ClueRemark> queryForDetailByClueId(String clueId) {
        return clueRemarkMapper.queryForDetailByClueId(clueId);
    }
    @Override
    public int insertOneSelective(ClueRemark clueRemark) {
        return  clueRemarkMapper.insertSelective(clueRemark);
    }
}
